<!-- HTML header for doxygen 1.8.8-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <!-- For Mobile Devices -->
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
        <meta name="generator" content="Doxygen 1.8.18"/>
        <script type="text/javascript" src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
        <title>ML-HElib: DoubleMatrix Class Reference</title>
        <!--<link href="tabs.css" rel="stylesheet" type="text/css"/>-->
        <script type="text/javascript" src="dynsections.js"></script>
        <link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
        <link href="doxygen.css" rel="stylesheet" type="text/css" />
        <link href="customdoxygen.css" rel="stylesheet" type="text/css"/>
        <link href='https://fonts.googleapis.com/css?family=Roboto+Slab' rel='stylesheet' type='text/css'>
		<link href="https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,100;1,700&family=Merriweather&family=Merriweather+Sans&family=Open+Sans&family=Poppins:ital@1&family=Roboto:ital,wght@0,400;1,300;1,900&display=swap" rel="stylesheet"> 
        <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css">
        <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>
        <link href="jquery.smartmenus.bootstrap.css" rel="stylesheet">
        <script type="text/javascript" src="jquery.smartmenus.js"></script>
        <!-- SmartMenus jQuery Bootstrap Addon -->
        <script type="text/javascript" src="jquery.smartmenus.bootstrap.js"></script>
        <!-- SmartMenus jQuery plugin -->
    </head>
    <body style="font-family: 'Merriweather', serif;">
        <nav class="navbar navbar-default" role="navigation">
            <div class="container">
                <div class="navbar-header">
                    <a class="navbar-brand">ML-HElib </a>
                </div>
            </div>
        </nav>
        <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
            <div class="content" id="content">
                <div class="container">
                    <div class="row">
                        <div class="col-sm-12 panel " style="padding-bottom: 15px;">
                            <div style="margin-bottom: 15px;">
<!-- end header part -->
<!-- Generated by Doxygen 1.8.18 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="class_double_matrix-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">DoubleMatrix Class Reference</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ad64ca4680f4a533354e6b3220333c5be"><td class="memItemLeft" align="right" valign="top"><a id="ad64ca4680f4a533354e6b3220333c5be"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>DoubleMatrix</b> (int r, int c, double fixedVal=0)</td></tr>
<tr class="separator:ad64ca4680f4a533354e6b3220333c5be"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9212cd59cae77e2ca5f1b9a5a79ce678"><td class="memItemLeft" align="right" valign="top"><a id="a9212cd59cae77e2ca5f1b9a5a79ce678"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>DoubleMatrix</b> (std::ifstream &amp;matrixFile)</td></tr>
<tr class="separator:a9212cd59cae77e2ca5f1b9a5a79ce678"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ade3e32c2bc6f6d42bbb4c1250e9a4545"><td class="memItemLeft" align="right" valign="top"><a id="ade3e32c2bc6f6d42bbb4c1250e9a4545"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>DoubleMatrix</b> (const std::string &amp;h5File, const std::string &amp;path)</td></tr>
<tr class="separator:ade3e32c2bc6f6d42bbb4c1250e9a4545"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5508a41f896342e887c61cc37a412a5d"><td class="memItemLeft" align="right" valign="top"><a id="a5508a41f896342e887c61cc37a412a5d"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>DoubleMatrix</b> (std::vector&lt; double &gt; v, int matrixRows)</td></tr>
<tr class="separator:a5508a41f896342e887c61cc37a412a5d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac07495df12cbdf16c90ee761993f8643"><td class="memItemLeft" align="right" valign="top"><a id="ac07495df12cbdf16c90ee761993f8643"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>DoubleMatrix</b> (const std::vector&lt; std::vector&lt; float &gt; &gt; &amp;matrix)</td></tr>
<tr class="separator:ac07495df12cbdf16c90ee761993f8643"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:add75228d4e25bb6562e8632f2038da01"><td class="memItemLeft" align="right" valign="top"><a id="add75228d4e25bb6562e8632f2038da01"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>DoubleMatrix</b> (const std::vector&lt; std::vector&lt; double &gt; &gt; &amp;matrix)</td></tr>
<tr class="separator:add75228d4e25bb6562e8632f2038da01"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afca20777b50f7a3bb071e6a860f97643"><td class="memItemLeft" align="right" valign="top"><a id="afca20777b50f7a3bb071e6a860f97643"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>DoubleMatrix</b> (const std::vector&lt; std::vector&lt; double &gt; &gt; &amp;matrix, int r, int c, double fixedVal=0)</td></tr>
<tr class="separator:afca20777b50f7a3bb071e6a860f97643"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a94fa3608bd679e37644e0ed53c46560e"><td class="memItemLeft" align="right" valign="top"><a id="a94fa3608bd679e37644e0ed53c46560e"></a>
std::streamoff&#160;</td><td class="memItemRight" valign="bottom"><b>save</b> (std::ostream &amp;stream) const</td></tr>
<tr class="separator:a94fa3608bd679e37644e0ed53c46560e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afa0f5d9fa9fd4af765eaf3dfb14e4373"><td class="memItemLeft" align="right" valign="top"><a id="afa0f5d9fa9fd4af765eaf3dfb14e4373"></a>
std::streamoff&#160;</td><td class="memItemRight" valign="bottom"><b>load</b> (std::istream &amp;stream)</td></tr>
<tr class="separator:afa0f5d9fa9fd4af765eaf3dfb14e4373"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1eb0e5e886f502b11247277edc8d3160"><td class="memItemLeft" align="right" valign="top"><a id="a1eb0e5e886f502b11247277edc8d3160"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>load</b> (const std::string &amp;h5File, const std::string &amp;path)</td></tr>
<tr class="separator:a1eb0e5e886f502b11247277edc8d3160"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae770172fddde7c91e8097cc3df1c6e42"><td class="memItemLeft" align="right" valign="top"><a id="ae770172fddde7c91e8097cc3df1c6e42"></a>
std::vector&lt; std::vector&lt; double &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>getVals</b> () const</td></tr>
<tr class="separator:ae770172fddde7c91e8097cc3df1c6e42"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a170624cf90f52f2aa7c923239029f699"><td class="memItemLeft" align="right" valign="top"><a id="a170624cf90f52f2aa7c923239029f699"></a>
double&#160;</td><td class="memItemRight" valign="bottom"><b>get</b> (int i, int j) const</td></tr>
<tr class="separator:a170624cf90f52f2aa7c923239029f699"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3f55df428cae64f37f4055f6c1959cb5"><td class="memItemLeft" align="right" valign="top"><a id="a3f55df428cae64f37f4055f6c1959cb5"></a>
double&#160;</td><td class="memItemRight" valign="bottom"><b>set</b> (int i, int j, double val)</td></tr>
<tr class="separator:a3f55df428cae64f37f4055f6c1959cb5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8f499af699b34ec104e4416b70d57fcd"><td class="memItemLeft" align="right" valign="top"><a id="a8f499af699b34ec104e4416b70d57fcd"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>rows</b> () const</td></tr>
<tr class="separator:a8f499af699b34ec104e4416b70d57fcd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a005d89bd205ce6b6fe4c29e4af4c15bc"><td class="memItemLeft" align="right" valign="top"><a id="a005d89bd205ce6b6fe4c29e4af4c15bc"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>cols</b> () const</td></tr>
<tr class="separator:a005d89bd205ce6b6fe4c29e4af4c15bc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa582a8247f6d56cb336cdd965605766c"><td class="memItemLeft" align="right" valign="top"><a id="aa582a8247f6d56cb336cdd965605766c"></a>
<a class="el" href="class_double_matrix.html">DoubleMatrix</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>operator-=</b> (const <a class="el" href="class_double_matrix.html">DoubleMatrix</a> &amp;other)</td></tr>
<tr class="separator:aa582a8247f6d56cb336cdd965605766c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afd740122b2c81ca716f8ed0b1aa5444c"><td class="memItemLeft" align="right" valign="top"><a id="afd740122b2c81ca716f8ed0b1aa5444c"></a>
<a class="el" href="class_double_matrix.html">DoubleMatrix</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>operator+=</b> (const <a class="el" href="class_double_matrix.html">DoubleMatrix</a> &amp;other)</td></tr>
<tr class="separator:afd740122b2c81ca716f8ed0b1aa5444c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aec303ef85b64eaebecc6b926e1cbf529"><td class="memItemLeft" align="right" valign="top"><a id="aec303ef85b64eaebecc6b926e1cbf529"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>addAt</b> (double val, int i, int j)</td></tr>
<tr class="separator:aec303ef85b64eaebecc6b926e1cbf529"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac7c4af449ea03dfd01922e92a5558255"><td class="memItemLeft" align="right" valign="top"><a id="ac7c4af449ea03dfd01922e92a5558255"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>addAt</b> (const <a class="el" href="class_double_matrix.html">DoubleMatrix</a> &amp;other, int startRow, int startCol)</td></tr>
<tr class="separator:ac7c4af449ea03dfd01922e92a5558255"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5e8b6f8aa98d55a720fed4310f27fb34"><td class="memItemLeft" align="right" valign="top"><a id="a5e8b6f8aa98d55a720fed4310f27fb34"></a>
<a class="el" href="class_double_matrix.html">DoubleMatrix</a>&#160;</td><td class="memItemRight" valign="bottom"><b>getTranspose</b> () const</td></tr>
<tr class="separator:a5e8b6f8aa98d55a720fed4310f27fb34"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa350b9aa592b92edd789e6c5885123ba"><td class="memItemLeft" align="right" valign="top"><a id="aa350b9aa592b92edd789e6c5885123ba"></a>
<a class="el" href="class_double_matrix.html">DoubleMatrix</a>&#160;</td><td class="memItemRight" valign="bottom"><b>getSubMatrix</b> (int row1, int col1, int row2, int col2) const</td></tr>
<tr class="separator:aa350b9aa592b92edd789e6c5885123ba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab04772a130f86e4c247aa63718c4be19"><td class="memItemLeft" align="right" valign="top"><a id="ab04772a130f86e4c247aa63718c4be19"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>transpose</b> ()</td></tr>
<tr class="separator:ab04772a130f86e4c247aa63718c4be19"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3253e28e5e7a2df4cb69d3f14c0921b6"><td class="memItemLeft" align="right" valign="top"><a id="a3253e28e5e7a2df4cb69d3f14c0921b6"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>testEqual</b> (const std::string &amp;title, const <a class="el" href="class_double_matrix.html">DoubleMatrix</a> &amp;other, double tolerance=1e-6) const</td></tr>
<tr class="separator:a3253e28e5e7a2df4cb69d3f14c0921b6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a433706331da58a1980b3862ffc3b1db9"><td class="memItemLeft" align="right" valign="top"><a id="a433706331da58a1980b3862ffc3b1db9"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>testSameSize</b> (const std::string &amp;title, const <a class="el" href="class_double_matrix.html">DoubleMatrix</a> &amp;other) const</td></tr>
<tr class="separator:a433706331da58a1980b3862ffc3b1db9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a32eca050a5641e5f9a020790853fb822"><td class="memItemLeft" align="right" valign="top"><a id="a32eca050a5641e5f9a020790853fb822"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>checkIfEqual</b> (const <a class="el" href="class_double_matrix.html">DoubleMatrix</a> &amp;other, double tolerance=1e-6) const</td></tr>
<tr class="separator:a32eca050a5641e5f9a020790853fb822"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab75c304abd3d400084cc96d24ba6191b"><td class="memItemLeft" align="right" valign="top"><a id="ab75c304abd3d400084cc96d24ba6191b"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>checkIfSameSize</b> (const <a class="el" href="class_double_matrix.html">DoubleMatrix</a> &amp;other) const</td></tr>
<tr class="separator:ab75c304abd3d400084cc96d24ba6191b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaa8db02de1fe407cc04f42ba6f9c3f1c"><td class="memItemLeft" align="right" valign="top"><a id="aaa8db02de1fe407cc04f42ba6f9c3f1c"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>copy</b> (const <a class="el" href="class_double_matrix.html">DoubleMatrix</a> &amp;other)</td></tr>
<tr class="separator:aaa8db02de1fe407cc04f42ba6f9c3f1c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4a3f24569cf29c65c2731dd4e7a0c304"><td class="memItemLeft" align="right" valign="top"><a id="a4a3f24569cf29c65c2731dd4e7a0c304"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>init</b> (const std::vector&lt; std::vector&lt; float &gt; &gt; matrix)</td></tr>
<tr class="separator:a4a3f24569cf29c65c2731dd4e7a0c304"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a44986af43d4b2bb6072570e831a57129"><td class="memItemLeft" align="right" valign="top"><a id="a44986af43d4b2bb6072570e831a57129"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>init</b> (const std::vector&lt; std::vector&lt; double &gt; &gt; matrix)</td></tr>
<tr class="separator:a44986af43d4b2bb6072570e831a57129"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a864f6c715f3b79c8b35c552f126dce81"><td class="memItemLeft" align="right" valign="top"><a id="a864f6c715f3b79c8b35c552f126dce81"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>initRandom</b> ()</td></tr>
<tr class="separator:a864f6c715f3b79c8b35c552f126dce81"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aca18897961b1cbd80526bea2864f253e"><td class="memItemLeft" align="right" valign="top"><a id="aca18897961b1cbd80526bea2864f253e"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>initConst</b> (double v)</td></tr>
<tr class="separator:aca18897961b1cbd80526bea2864f253e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1cf30e055713978c838755d3dece7ef6"><td class="memItemLeft" align="right" valign="top"><a id="a1cf30e055713978c838755d3dece7ef6"></a>
double&#160;</td><td class="memItemRight" valign="bottom"><b>getMaxDiff</b> (const <a class="el" href="class_double_matrix.html">DoubleMatrix</a> &amp;other) const</td></tr>
<tr class="separator:a1cf30e055713978c838755d3dece7ef6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afd70ab49ffd0fc335fe6743ee97cb34c"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_double_matrix.html#afd70ab49ffd0fc335fe6743ee97cb34c">getMaxAbs</a> () const</td></tr>
<tr class="separator:afd70ab49ffd0fc335fe6743ee97cb34c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a01a5705df6a6dc8129f653b2aba95f88"><td class="memItemLeft" align="right" valign="top"><a id="a01a5705df6a6dc8129f653b2aba95f88"></a>
double&#160;</td><td class="memItemRight" valign="bottom"><b>getMaxRelDiff</b> (const <a class="el" href="class_double_matrix.html">DoubleMatrix</a> &amp;other, double tolerance) const</td></tr>
<tr class="separator:a01a5705df6a6dc8129f653b2aba95f88"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6961a5693c0ec250277064b1776c30a4"><td class="memItemLeft" align="right" valign="top"><a id="a6961a5693c0ec250277064b1776c30a4"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>flattenIntoVec</b> (std::vector&lt; double &gt; &amp;vals) const</td></tr>
<tr class="separator:a6961a5693c0ec250277064b1776c30a4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a391c4d6ecee55d39baf0950576dbb012"><td class="memItemLeft" align="right" valign="top"><a id="a391c4d6ecee55d39baf0950576dbb012"></a>
<a class="el" href="class_double_matrix.html">DoubleMatrix</a>&#160;</td><td class="memItemRight" valign="bottom"><b>getMultiply</b> (const <a class="el" href="class_double_matrix.html">DoubleMatrix</a> &amp;other) const</td></tr>
<tr class="separator:a391c4d6ecee55d39baf0950576dbb012"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5b9e9450bc17424fe3742dcf25867273"><td class="memItemLeft" align="right" valign="top"><a id="a5b9e9450bc17424fe3742dcf25867273"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>multiply</b> (const <a class="el" href="class_double_matrix.html">DoubleMatrix</a> &amp;other)</td></tr>
<tr class="separator:a5b9e9450bc17424fe3742dcf25867273"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7109f9471e479ee02910d815a8cd7453"><td class="memItemLeft" align="right" valign="top"><a id="a7109f9471e479ee02910d815a8cd7453"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>elementMultiply</b> (const <a class="el" href="class_double_matrix.html">DoubleMatrix</a> &amp;other)</td></tr>
<tr class="separator:a7109f9471e479ee02910d815a8cd7453"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8d73a88d7ffe8adbbf010da62848f1af"><td class="memItemLeft" align="right" valign="top"><a id="a8d73a88d7ffe8adbbf010da62848f1af"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>elementMultiplyAt</b> (const <a class="el" href="class_double_matrix.html">DoubleMatrix</a> &amp;other, int startRow, int startCol)</td></tr>
<tr class="separator:a8d73a88d7ffe8adbbf010da62848f1af"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa4c02304c2bd227affcf8602024e637a"><td class="memItemLeft" align="right" valign="top"><a id="aa4c02304c2bd227affcf8602024e637a"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>multiplyByScalar</b> (double scalar)</td></tr>
<tr class="separator:aa4c02304c2bd227affcf8602024e637a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a47d24b4d901e9ed1f418ab4fa78c940f"><td class="memItemLeft" align="right" valign="top"><a id="a47d24b4d901e9ed1f418ab4fa78c940f"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>meanAlongRows</b> ()</td></tr>
<tr class="separator:a47d24b4d901e9ed1f418ab4fa78c940f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af4c582a352b7cfbd756661d302329374"><td class="memItemLeft" align="right" valign="top"><a id="af4c582a352b7cfbd756661d302329374"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>meanAlongCols</b> ()</td></tr>
<tr class="separator:af4c582a352b7cfbd756661d302329374"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4f09fa9592612c60945a98b3f358f52a"><td class="memItemLeft" align="right" valign="top"><a id="a4f09fa9592612c60945a98b3f358f52a"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>sumAlongRows</b> ()</td></tr>
<tr class="separator:a4f09fa9592612c60945a98b3f358f52a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1ea5e3f298f77c9ac367453a17a24ecf"><td class="memItemLeft" align="right" valign="top"><a id="a1ea5e3f298f77c9ac367453a17a24ecf"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>sumAlongCols</b> ()</td></tr>
<tr class="separator:a1ea5e3f298f77c9ac367453a17a24ecf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4ef36ee0088a3b320a6ae8327f7a2f92"><td class="memItemLeft" align="right" valign="top"><a id="a4ef36ee0088a3b320a6ae8327f7a2f92"></a>
<a class="el" href="class_double_matrix.html">DoubleMatrix</a>&#160;</td><td class="memItemRight" valign="bottom"><b>getDuplicate</b> (int dupRows, int dupCols) const</td></tr>
<tr class="separator:a4ef36ee0088a3b320a6ae8327f7a2f92"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab99737acde15ed403606091222fbb306"><td class="memItemLeft" align="right" valign="top"><a id="ab99737acde15ed403606091222fbb306"></a>
std::vector&lt; double &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>getFlatten</b> () const</td></tr>
<tr class="separator:ab99737acde15ed403606091222fbb306"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a42df100bc5c8d7a1f1499e2bc62cb77b"><td class="memItemLeft" align="right" valign="top"><a id="a42df100bc5c8d7a1f1499e2bc62cb77b"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>unFlatten</b> (const std::vector&lt; double &gt; &amp;v)</td></tr>
<tr class="separator:a42df100bc5c8d7a1f1499e2bc62cb77b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4b2f65deb1b0a3b20dab9bcd216e082f"><td class="memItemLeft" align="right" valign="top"><a id="a4b2f65deb1b0a3b20dab9bcd216e082f"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>size</b> () const</td></tr>
<tr class="separator:a4b2f65deb1b0a3b20dab9bcd216e082f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a799a995a879d18d13b5e713a1d15b4ad"><td class="memItemLeft" align="right" valign="top"><a id="a799a995a879d18d13b5e713a1d15b4ad"></a>
<a class="el" href="class_double_matrix.html">DoubleMatrix</a>&#160;</td><td class="memItemRight" valign="bottom"><b>smartReFlatten</b> (int innerDup, int outerDup, int valsPerRow, int cols)</td></tr>
<tr class="separator:a799a995a879d18d13b5e713a1d15b4ad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a89b08ddc40619dd078467596fc436379"><td class="memItemLeft" align="right" valign="top"><a id="a89b08ddc40619dd078467596fc436379"></a>
<a class="el" href="class_double_matrix.html">DoubleMatrix</a>&#160;</td><td class="memItemRight" valign="bottom"><b>getConvolution</b> (const <a class="el" href="class_double_matrix.html">DoubleMatrix</a> &amp;filter, int strideRows, int strideCols) const</td></tr>
<tr class="separator:a89b08ddc40619dd078467596fc436379"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad90843e019998323b1036f920e5b8aff"><td class="memItemLeft" align="right" valign="top"><a id="ad90843e019998323b1036f920e5b8aff"></a>
<a class="el" href="class_double_matrix.html">DoubleMatrix</a>&#160;</td><td class="memItemRight" valign="bottom"><b>getMeanAlongRows</b> () const</td></tr>
<tr class="separator:ad90843e019998323b1036f920e5b8aff"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1cba14974ac922d6edb957333a5c9007"><td class="memItemLeft" align="right" valign="top"><a id="a1cba14974ac922d6edb957333a5c9007"></a>
<a class="el" href="class_double_matrix.html">DoubleMatrix</a>&#160;</td><td class="memItemRight" valign="bottom"><b>getMeanAlongCols</b> () const</td></tr>
<tr class="separator:a1cba14974ac922d6edb957333a5c9007"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a70d54444c31045faebbc59e66ec71dc0"><td class="memItemLeft" align="right" valign="top"><a id="a70d54444c31045faebbc59e66ec71dc0"></a>
<a class="el" href="class_double_matrix.html">DoubleMatrix</a>&#160;</td><td class="memItemRight" valign="bottom"><b>getSumAlongRows</b> () const</td></tr>
<tr class="separator:a70d54444c31045faebbc59e66ec71dc0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9c5e8d6deaeea1e0ea156eb28e94a6b1"><td class="memItemLeft" align="right" valign="top"><a id="a9c5e8d6deaeea1e0ea156eb28e94a6b1"></a>
<a class="el" href="class_double_matrix.html">DoubleMatrix</a>&#160;</td><td class="memItemRight" valign="bottom"><b>getSumAlongCols</b> () const</td></tr>
<tr class="separator:a9c5e8d6deaeea1e0ea156eb28e94a6b1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abfdb8cc3dbe807ea897fe4ba4bf3b606"><td class="memItemLeft" align="right" valign="top"><a id="abfdb8cc3dbe807ea897fe4ba4bf3b606"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>debugPrint</b> (std::ostream &amp;out, int verboseLevel) const</td></tr>
<tr class="separator:abfdb8cc3dbe807ea897fe4ba4bf3b606"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a89dfef46b61af5a8d1be4b1669a7c455"><td class="memItemLeft" align="right" valign="top"><a id="a89dfef46b61af5a8d1be4b1669a7c455"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>appendRow</b> (const std::vector&lt; double &gt; &amp;vec)</td></tr>
<tr class="separator:a89dfef46b61af5a8d1be4b1669a7c455"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a89e4a42f9a2f78669e34b4af86b07bd3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_double_matrix.html#a89e4a42f9a2f78669e34b4af86b07bd3">appendCols</a> (const <a class="el" href="class_double_matrix.html">DoubleMatrix</a> &amp;other)</td></tr>
<tr class="separator:a89e4a42f9a2f78669e34b4af86b07bd3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5c74eb2fa6249bac6f66bc94d525e1e6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_double_matrix.html#a5c74eb2fa6249bac6f66bc94d525e1e6">appendRows</a> (const <a class="el" href="class_double_matrix.html">DoubleMatrix</a> &amp;other)</td></tr>
<tr class="separator:a5c74eb2fa6249bac6f66bc94d525e1e6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a896791699bba0dfa7a9e4358fdd1ac6c"><td class="memItemLeft" align="right" valign="top"><a id="a896791699bba0dfa7a9e4358fdd1ac6c"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>clear</b> ()</td></tr>
<tr class="separator:a896791699bba0dfa7a9e4358fdd1ac6c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a37d91c3f502a1bb66b518611619a5772"><td class="memItemLeft" align="right" valign="top"><a id="a37d91c3f502a1bb66b518611619a5772"></a>
static <a class="el" href="class_double_matrix.html">DoubleMatrix</a>&#160;</td><td class="memItemRight" valign="bottom"><b>smartUnFlatten</b> (const std::vector&lt; double &gt; &amp;vals, int innerDup, int outerDup, int valsPerRow, int cols)</td></tr>
<tr class="separator:a37d91c3f502a1bb66b518611619a5772"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2e19557bd6ad90582b99c5a712b53db6"><td class="memItemLeft" align="right" valign="top"><a id="a2e19557bd6ad90582b99c5a712b53db6"></a>
static std::string&#160;</td><td class="memItemRight" valign="bottom"><b>niceFormat</b> (double v)</td></tr>
<tr class="separator:a2e19557bd6ad90582b99c5a712b53db6"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a89e4a42f9a2f78669e34b4af86b07bd3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a89e4a42f9a2f78669e34b4af86b07bd3">&#9670;&nbsp;</a></span>appendCols()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void DoubleMatrix::appendCols </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_double_matrix.html">DoubleMatrix</a> &amp;&#160;</td>
          <td class="paramname"><em>other</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Appends given matrix to the right of this matrix </p>

</div>
</div>
<a id="a5c74eb2fa6249bac6f66bc94d525e1e6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5c74eb2fa6249bac6f66bc94d525e1e6">&#9670;&nbsp;</a></span>appendRows()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void DoubleMatrix::appendRows </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_double_matrix.html">DoubleMatrix</a> &amp;&#160;</td>
          <td class="paramname"><em>other</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Appends given matrix to the bottom of this matrix </p>

</div>
</div>
<a id="afd70ab49ffd0fc335fe6743ee97cb34c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afd70ab49ffd0fc335fe6743ee97cb34c">&#9670;&nbsp;</a></span>getMaxAbs()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double DoubleMatrix::getMaxAbs </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>returns maximal absolute value </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="_double_matrix_8h_source.html">DoubleMatrix.h</a></li>
</ul>
</div><!-- contents -->
<!-- HTML footer for doxygen 1.8.8-->
<!-- start footer part -->
</div>
</div>
</div>
</div>
</div>
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.18
</small></address>
</body>
        <script type="text/javascript" src="doxy-boot.js"></script>
</html>
